package com.framework.system.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 登录实体类
 *
 * @author Kevin
 */
@Data
public class LoginDTO {

    @NotBlank(message = "授权类型不能为空")
    String grantType;

    String username;
    String password;

    String mobile;
    String code;

}
